package j06zuoye.studentmanage;


import java.util.Random;

public class Student {
    String id;
    String name;
    String sex;
    int age;

    @Override
    public String toString() {
        return  "[" + id +
                "," + name + ", " + sex +
                ", " + age +
                ']';
    }

    public Student(String id, String name, String sex, int age) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
    }

    public Student(String name, String sex, int age) {
        this.name = name;
        this.sex = sex;
        this.age = age;
    }

    public Student() {
    }
}
